﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace Garlic.DM.DataModel
{
    /// <summary>
    /// ActionInfo
    /// </summary>
    public partial class ActionInfo : BaseInfo
    {
        protected int _action_id;
        protected string _action_name = String.Empty;
        protected string _action_name_cn = String.Empty;
        protected string _action_url = String.Empty;
        protected string _menu_id = String.Empty;
        protected string _menu_order = String.Empty;
        protected int _action_type;
        protected string _icon_name = String.Empty;
        protected string _client_js = String.Empty;
        protected string _section = String.Empty;
        protected DateTime _create_time;
        protected int _create_user;
        protected int _modify_user;
        protected DateTime _modify_time;
        protected string _action_description;

        public ActionInfo(int action_id,
string action_name,
string action_name_cn,
string action_url,
string menu_id,
string menu_order,
int action_type,
string icon_name,
string client_js,
string section,
DateTime create_time,
int create_user,
int modify_user,
DateTime modify_time,
            string action_description
        )
        {
            _action_id = action_id;
            _action_name = action_name;
            _action_name_cn = action_name_cn;
            _action_url = action_url;
            _menu_id = menu_id;
            _menu_order = menu_order;
            _action_type = action_type;
            _icon_name = icon_name;
            _client_js = client_js;
            _section = section;
            _create_time = create_time;
            _create_user = create_user;
            _modify_user = modify_user;
            _modify_time = modify_time;
            _action_description = action_description;
        }

        public ActionInfo()
        {
        }


        public int Action_id
        {
            get { return _action_id; }
            set { _action_id = value; }
        }

        public string Action_name
        {
            get { return _action_name; }
            set { _action_name = value; }
        }

        public string Action_name_cn
        {
            get { return _action_name_cn; }
            set { _action_name_cn = value; }
        }

        public string Action_url
        {
            get { return _action_url; }
            set { _action_url = value; }
        }

        public string Menu_id
        {
            get { return _menu_id; }
            set { _menu_id = value; }
        }

        public string Menu_order
        {
            get { return _menu_order; }
            set { _menu_order = value; }
        }

        public int Action_type
        {
            get { return _action_type; }
            set { _action_type = value; }
        }

        public string Icon_name
        {
            get { return _icon_name; }
            set { _icon_name = value; }
        }

        public string Client_js
        {
            get { return _client_js; }
            set { _client_js = value; }
        }

        public string Section
        {
            get { return _section; }
            set { _section = value; }
        }

        public DateTime Create_time
        {
            get { return _create_time; }
            set { _create_time = value; }
        }

        public int Create_user
        {
            get { return _create_user; }
            set { _create_user = value; }
        }

        public int Modify_user
        {
            get { return _modify_user; }
            set { _modify_user = value; }
        }

        public DateTime Modify_time
        {
            get { return _modify_time; }
            set { _modify_time = value; }
        }

        public string Action_Description
        {
            get { return _action_description; }
            set { _action_description = value; }
        }

    }
}
